﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace farmersCows
{
    class Farmer
    {
        private int bagsOFfeed;
        private  int feedMultiplier;
        private int numberOfCows;

        public Farmer(int numberOfCows, int feedMultiplier)
        {
            this.feedmultiplier = feedmultiplier;
            NumberOfCows = numberOfCows;
        }

        public int feedmultiplier
        {
            get
            {
                return feedMultiplier;
            }
        }
        
        public int NumberOfCows
        {
            get
            {
                return numberOfCows;
            }
            set
            {
                numberOfCows = value;
                bagsOFfeed = numberOfCows * feedMultiplier;
            }
        }
    
        public int BagsOffield { get; private set; }
    
    }
}
